package com.bwie.feign;

import com.bwie.feign.impl.UserFeignImpl;
import com.bwie.vo.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "E-auth",fallback = UserFeignImpl.class)
public interface UserFeign {

    @GetMapping("/auth/selectUserInfoById/{userId}")
    UserVo selectUserInfoById(@PathVariable("userId") Integer userId);
}
